package com.leve.admin.service;

import com.leve.admin.domain.Ghost;
import com.leve.admin.domain.ResultBase;
import org.springframework.data.domain.PageRequest;

import java.util.List;

public interface GhostService {
    List<Ghost> ghosts(PageRequest pageRequest, String name, String statusId);

    ResultBase getservers();

    ResultBase sendMsg(List<String> ids, String text, String flag);

    ResultBase smsMsg(List<String> ids, String text);

    ResultBase createGhostGroup(String checkList, String text);

    ResultBase getGhostGroups(String flag);

    ResultBase distribution(List<String> ids, String statusId);

    ResultBase delGroup(String statusId);

    ResultBase findGhostByCreateDate();

    ResultBase normal();

    ResultBase userPush(List<String> ids, String statusId, String comments);


    ResultBase createpost(String imgUrl, String keyValue, String gid);

    ResultBase normalGhosts(String name, PageRequest pageRequest);
}
